Telegram Group & Telegram Channel
📤 Как устроены HTTP-заголовки: простая схема для чайников и не только

На картинке выше — вся суть общения между браузером и сервером через HTTP. Что передаётся, зачем и откуда берётся — смотрим по пунктам👇

➡️ HTTP Request Header — это то, что отправляет браузер

• Accept: что ожидаем получить (например, изображение webp)
• Accept-Encoding: в каком виде (например, gzip)
• Cookie: ваши печеньки, которые шлём серверу
• Cache-Control: можно ли закэшировать и на сколько
• Referer: с какой страницы пришёл запрос
• User-Agent: кто именно лезет на сервер (браузер и ОС)

⬇️HTTP Response Header — это то, что вернёт сервер

• Content-Type: что именно он отдал (например, image/webp)
• Set-Cookie: отправка новой печеньки в ответ
• Server: какой сервер обслужил вас (gws, например, Google Web Server)
• Access-Control-Allow-Origin: можно ли делиться ответом с другими доменами
• Date: дата и время ответа
• Cache-Control: как долго можно хранить ответ в кэше

Понимание HTTP-заголовков критично для разработки API, настройки кэша, защиты данных и дебага багов в сети. Без них — ни туда, ни сюда.

Библиотека пхпшника #буст
Please open Telegram to view this post
VIEW IN TELEGRAM



tg-me.com/phpproglib/5561
Create:
Last Update:

📤 Как устроены HTTP-заголовки: простая схема для чайников и не только

На картинке выше — вся суть общения между браузером и сервером через HTTP. Что передаётся, зачем и откуда берётся — смотрим по пунктам👇

➡️ HTTP Request Header — это то, что отправляет браузер

• Accept: что ожидаем получить (например, изображение webp)
• Accept-Encoding: в каком виде (например, gzip)
• Cookie: ваши печеньки, которые шлём серверу
• Cache-Control: можно ли закэшировать и на сколько
• Referer: с какой страницы пришёл запрос
• User-Agent: кто именно лезет на сервер (браузер и ОС)

⬇️HTTP Response Header — это то, что вернёт сервер

• Content-Type: что именно он отдал (например, image/webp)
• Set-Cookie: отправка новой печеньки в ответ
• Server: какой сервер обслужил вас (gws, например, Google Web Server)
• Access-Control-Allow-Origin: можно ли делиться ответом с другими доменами
• Date: дата и время ответа
• Cache-Control: как долго можно хранить ответ в кэше

Понимание HTTP-заголовков критично для разработки API, настройки кэша, защиты данных и дебага багов в сети. Без них — ни туда, ни сюда.

Библиотека пхпшника #буст

BY Библиотека пхпшника | PHP, Laravel, Symfony, CodeIgniter




Share with your friend now:
tg-me.com/phpproglib/5561

View MORE
Open in Telegram


Библиотека пхпшника | PHP Laravel Symfony CodeIgniter Telegram | DID YOU KNOW?

Date: |

China’s stock markets are some of the largest in the world, with total market capitalization reaching RMB 79 trillion (US$12.2 trillion) in 2020. China’s stock markets are seen as a crucial tool for driving economic growth, in particular for financing the country’s rapidly growing high-tech sectors.Although traditionally closed off to overseas investors, China’s financial markets have gradually been loosening restrictions over the past couple of decades. At the same time, reforms have sought to make it easier for Chinese companies to list on onshore stock exchanges, and new programs have been launched in attempts to lure some of China’s most coveted overseas-listed companies back to the country.

Telegram auto-delete message, expiring invites, and more

elegram is updating its messaging app with options for auto-deleting messages, expiring invite links, and new unlimited groups, the company shared in a blog post. Much like Signal, Telegram received a burst of new users in the confusion over WhatsApp’s privacy policy and now the company is adopting features that were already part of its competitors’ apps, features which offer more security and privacy. Auto-deleting messages were already possible in Telegram’s encrypted Secret Chats, but this new update for iOS and Android adds the option to make messages disappear in any kind of chat. Auto-delete can be enabled inside of chats, and set to delete either 24 hours or seven days after messages are sent. Auto-delete won’t remove every message though; if a message was sent before the feature was turned on, it’ll stick around. Telegram’s competitors have had similar features: WhatsApp introduced a feature in 2020 and Signal has had disappearing messages since at least 2016.

Библиотека пхпшника | PHP Laravel Symfony CodeIgniter from us


Telegram Библиотека пхпшника | PHP, Laravel, Symfony, CodeIgniter
FROM USA